package com.woniu.woniuYoga.comm.core.domain.student;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author 付宽成
 * @since 2020-08-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class YgStuOrderdetails implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 订单明细id
     */
    @TableId(value = "stu_orderdetails_id", type = IdType.AUTO)
    private Integer stuOrderdetailsId;

    /**
     * **外键** 瑜伽师id  用于关联教练表ID(查看教练信息)
     */
    private Integer stuOrderdetailsTeacherId;

    /**
     * **外键** 场馆id(通过哪个场馆购买的)  关联场馆id
     */
    private Integer stuOrderdetailsGymId;

    /**
     * 订单类别(0\1\2)    0私教订单 1会员订单 2场馆课程订单
     */
    private Integer stuOrderdetailsType;

    /**
     * 私教课订单丶场馆课的课程订单丶会员订单的id(不同的id通过订单类别进行区分的)
     */
    private Integer stuOrderdetailsOrderId;


}
